home *** CD-ROM | disk | FTP | other *** search
Wrap
aaaasssssssseeeettttsssseeeerrrrvvvveeeerrrroooopppptttt((((3333xxxx)))) aaaasssssssseeeettttsssseeeerrrrvvvveeeerrrroooopppptttt((((3333xxxx)))) NNNNAAAAMMMMEEEE assetserveropt, asgetserveropt, asdfltserveropt - set/retrieve server options SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ####iiiinnnncccclllluuuuddddeeee <<<<aaaarrrrrrrraaaayyyyssssvvvvccccssss....hhhh>>>> iiiinnnntttt aaaasssssssseeeettttsssseeeerrrrvvvveeeerrrroooopppptttt((((aaaasssssssseeeerrrrvvvveeeerrrr____tttt SSSSeeeerrrrvvvveeeerrrr,,,, iiiinnnntttt OOOOppppttttNNNNaaaammmmeeee,,,, ccccoooonnnnsssstttt vvvvooooiiiidddd ****OOOOppppttttVVVVaaaallll,,,, iiiinnnntttt OOOOppppttttLLLLeeeennnn))));;;; iiiinnnntttt aaaassssggggeeeettttsssseeeerrrrvvvveeeerrrroooopppptttt((((aaaasssssssseeeerrrrvvvveeeerrrr____tttt SSSSeeeerrrrvvvveeeerrrr,,,, iiiinnnntttt OOOOppppttttNNNNaaaammmmeeee,,,, vvvvooooiiiidddd ****OOOOppppttttVVVVaaaallll,,,, iiiinnnntttt OOOOppppttttLLLLeeeennnn))));;;; iiiinnnntttt aaaassssddddffffllllttttsssseeeerrrrvvvveeeerrrroooopppptttt((((iiiinnnntttt OOOOppppttttNNNNaaaammmmeeee,,,, vvvvooooiiiidddd ****OOOOppppttttVVVVaaaallll,,,, iiiinnnntttt OOOOppppttttLLLLeeeennnn))));;;; DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN aaaassssggggeeeettttsssseeeerrrrvvvveeeerrrroooopppptttt and aaaasssssssseeeettttsssseeeerrrrvvvveeeerrrroooopppptttt are used to manipulate options associated with the server token _S_e_r_v_e_r. aaaassssddddffffllllttttsssseeeerrrrvvvveeeerrrroooopppptttt is used to retrieve the standard default value for those options when a new server token is created using aaaassssooooppppeeeennnnsssseeeerrrrvvvveeeerrrr(3X). The particular option to be manipulated is specified by _O_p_t_N_a_m_e, which may be one of the following values (defined in <arraysvcs.h>): _AAAA_SSSS______SSSS_OOOO______TTTT_IIII_MMMM_EEEE_OOOO_UUUU_TTTT Sets or retrieves the timeout value (in seconds) for a response to a request made to the array services daemon associated with the server token. The timeout value is of type "int". _AAAA_SSSS______SSSS_OOOO______CCCC_TTTT_IIII_MMMM_EEEE_OOOO_UUUU_TTTT Sets or retrieves the timeout value (in seconds) for establishing an initial connection with the array services daemon associated with the server token. The timeout value is of type "int". _AAAA_SSSS______SSSS_OOOO______FFFF_OOOO_RRRR_WWWW_AAAA_RRRR_DDDD Sets or retrieves the state of the forwarding flag associated with the server token. If the flag is non-zero, then any requests made with the token will be forwarded to the server associated with the token via the array services daemon at the default port on the local machine. If the flag is zero, requests are sent directly to the server associated with the token. The default setting of this flag is 0 unless the environment variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______FFFF_OOOO_RRRR_WWWW_AAAA_RRRR_DDDD had a value beginning with the letter "Y" (as in "yes", in either upper or lower case) at the time the token was created. The value of the flag is of type "int". _AAAA_SSSS______SSSS_OOOO______LLLL_OOOO_CCCC_AAAA_LLLL_KKKK_EEEE_YYYY Sets or retrieves the authentication key that is used for any messages sent to the array services daemon associated with the server token. The default value of this key is obtained from the environment variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______LLLL_OOOO_CCCC_AAAA_LLLL_KKKK_EEEE_YYYY if it exists, or otherwise is set to 0. The key is of type aaaasssskkkkeeeeyyyy____tttt. PPPPaaaaggggeeee 1111 aaaasssssssseeeettttsssseeeerrrrvvvveeeerrrroooopppptttt((((3333xxxx)))) aaaasssssssseeeettttsssseeeerrrrvvvveeeerrrroooopppptttt((((3333xxxx)))) _AAAA_SSSS______SSSS_OOOO______RRRR_EEEE_MMMM_OOOO_TTTT_EEEE_KKKK_EEEE_YYYY Sets or retrieves the authentication key that is used for any messages received from the array services daemon associated with the server token. The default value of this key is obtained from the environment variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______RRRR_EEEE_MMMM_OOOO_TTTT_EEEE_KKKK_EEEE_YYYY if it exists, or otherwise is set to 0. The key is of type aaaasssskkkkeeeeyyyy____tttt. _AAAA_SSSS______SSSS_OOOO______PPPP_OOOO_RRRR_TTTT_NNNN_UUUU_MMMM (Only valid with aaaassssddddffffllllttttsssseeeerrrrvvvveeeerrrroooopppptttt). Retrieves the port number of the default array services daemon. This value is obtained from the environment variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______PPPP_OOOO_RRRR_TTTT if it exists, otherwise the port number associated with the service "sgi-arrayd" is used. _AAAA_SSSS______SSSS_OOOO______HHHH_OOOO_SSSS_TTTT_NNNN_AAAA_MMMM_EEEE (Only valid with aaaassssddddffffllllttttsssseeeerrrrvvvveeeerrrroooopppptttt). Retrieves the hostname of the default array services daemon. This value is obtained from the environment variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD if it exists, otherwise "localhost" is used. The parameters _O_p_t_V_a_l and _O_p_t_L_e_n are used to access option values for aaaasssssssseeeettttsssseeeerrrrvvvveeeerrrroooopppptttt. For aaaassssggggeeeettttsssseeeerrrrvvvveeeerrrroooopppptttt and aaaassssddddffffllllttttsssseeeerrrrvvvveeeerrrroooopppptttt, they identify a buffer in which the value for the requested option is to be returned. For those functions, _O_p_t_L_e_n is a value-result parameter, initially containing the size in bytes of the buffer pointed to by _O_p_t_V_a_l, and modified on return to indicate the actual size of the value returned. If any of these functions is unsuccessful, -1 is returned and _a_s_e_r_r_o_r_c_o_d_e(3X) will be set appropriately. NNNNOOOOTTTTEEEESSSS These functions are found in the library "libarray.so", and will be loaded if the option "-larray" is used with _c_c(1) or _l_d(1). SSSSEEEEEEEE AAAALLLLSSSSOOOO ascloseserver(3X), aserrorcode(3X), asopenserver(3X), array_services(5). DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS Both functions return 0 if successful, -1 if not. If unsuccessful, _a_s_e_r_r_o_r_c_o_d_e(3X) will be set appropriately. PPPPaaaaggggeeee 2222